from django.urls import re_path
from . import views

urlpatterns = [
    re_path(r'^api/v1.0/sms$', views.SMSCodeView.as_view()),
    re_path(r'^api/v1.0/houses$', views.MySearchView.as_view()),
    re_path(r'^api/v1.0/user/avatar$', views.UploadsPersonalView.as_view()),
    re_path(r'^api/v1.0/user$', views.UserInfoView.as_view()),
    re_path(r'^api/v1.0/user/auth$', views.CertificationView.as_view()),
    re_path(r'^api/v1.0/session$', views.SessionView.as_view()),
    re_path(r'^api/v1.0/imagecode$', views.ImageCodeView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/images$', views.ImageUpdateView.as_view()),
    re_path(r'^api/v1.0/sss$', views.SSSView.as_view()),



    # re_path(r'^api/v1.0/houses$', views.MySearchView().as_view()),
    # re_path(r'^api/v1.0/houses/[int:house_id]/images$', views.ImageUpdateView.as_view()),

]